#!/bin/sh
# Compiliert den C++ Code und erstellt die Bindings mit SWIG
echo Shell-Script for building all needed files to do MODE7-Effect
echo by directly access the surface of pygame SDL binding [Hendrik Leibrandt]
echo --------------------------------
echo Create bindings [starting SWIG]...
swig -python mode7.i	# swig -c++ -python mode7.i
echo done
echo
echo Compile Libaries...
python setup.py build_ext --inplace
echo done
echo
echo Building complete!--------------
echo Starting test-file...
python module_test.py